Repository navigation
feat: add get_current_instance_secret_links - #87
Merged
jiatolentino merged 1 commit intoNov 23, 2026
Merged
Conversation
andrewchester-dm
approved these changes
Nov 19, 2026
jiatolentino
force-pushed
the
DM-5075-rotate-instance-secret
branch
from
November 20, 2026 00:02
fa0ec8b to
1274b77
Compare
jiatolentino
force-pushed
the
current-instance-secret-links
branch
from
November 20, 2026 00:02
4a05051 to
667d25e
Compare
Base automatically changed from
DM-5075-rotate-instance-secret
to
epic/instance-secret-linking
November 23, 2026 00:27
Returns the shares and adoptions that rotating the instance secret would end, newest first.
jiatolentino
force-pushed
the
current-instance-secret-links
branch
from
November 23, 2026 00:42
667d25e to
c2fd3b9
Compare
andrewchester-dm
pushed a commit
that referenced
this pull request
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
InstanceSecretClient.get_current_instance_secret_links(), which returns the shares and adoptions that rotating the instance secret would end, newest first, using the existingInstanceSecretEventmodel. It callsGET /api/instance-secret/current-links/, which admin users can read on every license type.Tests cover the links in order, an empty list, and a non-admin user getting
DataMasqueApiError.Stacked on #83.